<template>
  <div class="base-container">
    <el-container>
      <el-header>Header</el-header>
      <el-container>
        <el-aside width="200px">
          <nav-menu/>
        </el-aside>
        <el-container>
          <el-main>
            <router-view/>
          </el-main>
          <el-footer>Footer</el-footer>
        </el-container>
      </el-container>
    </el-container>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
import NavMenu from '@/views/navMenu/index.vue' // @ is an alias to /src

@Component({
  components: {
    NavMenu
  }
})
export default class BaseContainer extends Vue {}
</script>
<style lang="less">
  .base-container {
    width: 100%;
    height: 100%;
    .el-header, .el-footer {
      background-color: #B3C0D1;
      color: #333;
      text-align: center;
      line-height: 60px;
    }
    .el-aside {
      text-align: center;
      line-height: 200px;
    }
    .el-container, .el-menu {
      width: 100%;
      height: 100%;
    }
  }
</style>
